#pragma once

#include "Graphics/GraphicsMember.h"
#include "Common/CException.h"

class Primitive : public GraphicsMember
{
public:
	Primitive(Graphics& graphics);
	~Primitive();

	Primitive(const Primitive&) = delete;
	Primitive& operator=(const Primitive&) = delete;

	void Draw(Graphics& graphics);

private:
	wrl::ComPtr<IDirect3DVertexBuffer9> _VertexBuffer;
	UINT _Count;
};
